package demo;

public class Npc extends MapObject{
    private String name;
    private int x;
    private int y;
    private int width;
    private int height;
    private Skill skill;
    public Npc(){
        super();
    }
    public Npc(String name, int x, int y, int width, int height) {
        super(name, x, y, width, height);
    }

    public Npc(String name, int x, int y, int width, int height,Skill skill) {
        super(name, x, y, width, height);
        this.skill = skill;
    }

    @Override
    public String toString() {
        return "Npc{" +
                "name='" + name + '\'' +
                ", x=" + x +
                ", y=" + y +
                ", width=" + width +
                ", height=" + height +
                ", skill=" + skill +
                '}';
    }
}
